<link rel="stylesheet"  type="text/css"  href="../css/product_list.css"/>
<div ng-controller="Product_listCtrl">
    <ul class="navigation">
        <li><a href="#/product_list">Let's Go</a></li>
        <li><a id="home" href="#/home">主页</a></li>
        <li><a id="product" href="#/product_list">商品列表</a></li>
        <li><img  src="../shopping_cart.png"/><a class="cart" href="#/cart" ng-model="sum_count">购物车({{sum_count}})</a> </li>
    </ul>
    <div class="product_list">
        <div class="caption">
            <caption>商品列表</caption>
        </div>
        <table id="product_list">
            <tr>
                <th>分类</th>
                <th>名称</th>
                <th>单价（元）</th>
                <th>单位</th>
                <th></th>
            </tr>
            <tr ng-repeat="item in goods_informations">
                <td>{{item.classification}}</td>
                <td>{{item.name}}</td>
                <td>{{item.price}}</td>
                <td>{{item.unit}}</td>
                <td><button class="button" ng-click="add_click_event(item)">加入购物车</button></td>
            </tr>
        </table>
    </div>
</div>